import requests


headers = {
    "Accept": "application/json, text/javascript, */*; q=0.01",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "Origin": "https://moc.oocl.com",
    "Pragma": "no-cache",
    "Referer": "https://moc.oocl.com/",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "cross-site",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
    "sec-ch-ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\""
}
url = "https://cs-captcha-public.cargosmart.com/captcha/public/get"
params = {
    "appKey": "1dc597b617744cb49c97e20b523931e1",
    "captchaType": "blockPuzzle",
    # "sessionKey": "9149d965-e8b5-4e57-bffd-75e32a86df3f"
}
response = requests.get(url, headers=headers, params=params)

print(response.text)
print(response)